from whileyouwere.main.models import PostModel, Intro, Comment
from django.contrib import admin
from django.contrib.auth.models import User


class PostAdmin(admin.ModelAdmin):
    list_display = ('id','whileyou', 'description')

class IntroAdmin(admin.ModelAdmin):
    list_display = ('id', 'description')
   
class CommentAdmin(admin.ModelAdmin):
    list_display = ('id', 'post','comment') 
admin.site.register(PostModel, PostAdmin)
admin.site.register(Intro, IntroAdmin)
admin.site.register(Comment, CommentAdmin)
